<%@ include file="/public/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
 <link type="text/css" rel="stylesheet" href="styles/pub/default.css">
</head>
<body>
<div class="main" align="center">
	<table style="width:100%;" align="center">
		<caption>
			<span style="height:25;">
			${map.goods.goodsCname}
			</span>
		</caption>
		<tr  style="vertical-align:top;">
			<td width="100%">
				<table  class="bean">
					<tr class="size">
					  <td width="15%"></td>
					  <td width="35%"></td>
					  <td width="15%"></td>
					  <td width="30%"></td>
					</tr>
					<tr>
						<td colspan="4">检验信息</td>
					</tr>
					<tr>
					  <td class="formLabel" >结果评定</td>
					  <td colspan="3"><mytag:c2s type="testResult" key="${map.goodsCheck.inspResultCode}"/></td>
					</tr>
					<tr>
					  <td class="formLabel" >不合格原因</td>
					  <td><mytag:c2s type="inspCause" key="${map.goodsCheck.disquaCauseCode}"/></td>
					  <td class="formLabel" >不合格处理</td>
					  <td><mytag:c2s type="inspMethod" key="${map.goodsCheck.disquaTreatCode}"/></td>
					</tr>
					<tr>
					  <td class="formLabel" >不合格重量</td>
					  <td>${map.goodsCheck.inspDisquaWeight}</td>
					  <td class="formLabel" >不合格数量</td>
					  <td>${map.goodsCheck.inspDisquaQty}</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td width="100%">
				<table  class="bean">
					<tr class="size">
					  <td width="15%"></td>
					  <td width="35%"></td>
					  <td width="15%"></td>
					  <td width="30%"></td>
					</tr>
					<tr>
						<td colspan="4">检疫信息</td>
					</tr>
					<tr>
					  <td class="formLabel" >结果评定</td>
					  <td colspan="3"><mytag:c2s type="testResult" key="${map.goodsCheck.quarResultCode}"/></td>
					</tr>
					<tr>
					  <td class="formLabel" >不合格原因</td>
					  <td><mytag:c2s type="quarCause" key="${map.goodsCheck.disquCauseCode}"/></td>
					  <td class="formLabel" >不合格处理</td>
					  <td><mytag:c2s type="quarMethod" key="${map.goodsCheck.detailTreatCode}"/></td>
					</tr>
					<tr>
					  <td class="formLabel" >不合格重量</td>
					  <td>${map.goodsCheck.quarDisquaWeight}</td>
					  <td class="formLabel" >不合格数量</td>
					  <td>${map.goodsCheck.quarDisquaQty}</td>
					</tr>
				</table>
			</td>
		</tr>
		
		<tr><td colspan="2" height="20">&nbsp;</td> </tr>
		
		<tr style="vertical-align:top;">
			<td colspan="2">
				<table  class="bean" width="70%">
					<tr class="size">
						<td></td>
					</tr>
					<tr><td>木包装信息</td></tr>
					<tr>
						<td style="padding:0;margin:0;">
							<table class="list">
								<tr class="title">
								  <td>序号</td>
								  <td>木包装种类</td>
								  <td>包装件数</td>
								  <td>结果评定</td>
								  <td>不合格原因</td>
								  <td>不合格处理</td>
								</tr>
							  	<c:forEach items="${map.woodList}" var="wc"  varStatus="stat">
									<tr>
									  <td>${stat.count}</td>
									  <td><mytag:c2s type="pack" key="${wc.packTypeCode}"/></td>
									  <td>${wc.packNumber}</td>
									  <td><mytag:c2s type="testResult" key="${wc.woodResultCode}"/></td>
									  <td><mytag:c2s type="quarCause" key="${wc.woodCauseCode}"/></td>
									  <td><mytag:c2s type="quarMethod" key="${wc.detailTreatCode}"/></td>
									</tr>
							  	</c:forEach>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		
		<tr><td colspan="2" height="20">&nbsp;</td> </tr>
		
		<tr>
			<td colspan="2">
				<table  class="bean">
					<tr class="size">
						<td></td>
					</tr>
					<tr><td>疫情信息</td></tr>
					<tr>
						<td style="padding:0;margin:0;">
							<table class="list" border="0">
								<tr class="title">
								  <td width="5%">序号</td>
								  <td>类别</td>
								  <td>施检对象代码</td>
								  <td>疫情名</td>
								  <td>疫情级别</td>
								  <td>不合格数量</td>
								  <td>不合格金额</td>
								</tr>
							  	<c:forEach items="${map.poxList}" var="pox"  varStatus="stat">
									<tr>
									  <td>${stat.count}</td>
									  <td><mytag:c2s type="inspDest" key="${pox.inspObject}"/></td>
									  <td>${pox.inspObjectCode}</td>
									  <td><mytag:c2s type="pox" key="${pox.situationCode}"/></td>
									  <td>${pox.situationLevel}</td>
									  <td>${pox.totalDisquaQty}</td>
									  <td>${pox.totalDisquaValues}</td>
									</tr>
							  	</c:forEach>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		
		<tr>
			<td colspan="2" height="45" align="center" style="vertical-align: bottom;">
				<input type="button" value=" 关闭 " onclick="window.opener=null; window.close();">
			</td>
		</tr>
	</table>
</div>
</body>
</html>
